package com.xnew.menus;

import com.xnewtech.xplatform.swan.libs.scanner.stereotype.ApiResource;
import com.xnewtech.xplatform.swan.model.web.response.ResponseData;
import org.springframework.web.bind.annotation.RestController;

/**
 * 菜单组名称菜单标识控制器
 *
 * @author shj
 * @Date 2021-08-09 15:49:46
 */
@RestController
@ApiResource(name = "菜单组名称", path = "/menuGroup")
public class MenuGroupMenuFlagController {

     @ApiResource(name = "菜单一", path = "/menu1", menuFlag = true)
     public ResponseData menu1() {
         return ResponseData.success();
     }

     @ApiResource(name = "菜单二", path = "/menu2", menuFlag = true)
     public ResponseData menu2() {
         return ResponseData.success();
     }

}
